<template>
    <el-dialog title="图片预览" :visible.sync="isImgShow" width="60%">
        <div class="img-con">
            <img :src="$api.imgUrl + imgUrl" alt="" style="max-width: 100%;">
        </div>
    </el-dialog>
</template>

<script>
export default {
    data() {
        return {
            imgUrl:"",
            isImgShow:false,
        }
    },
    methods: {
        open(url){
            this.isImgShow = true;
			this.imgUrl = url
        }
    },
    created() {
    }
}
</script>

<style scoped>
.img-con{
	width: 100%;
	display: flex;
	justify-content: center;
    align-items: center;
    min-height: 300px;
}
</style>